package com.supermarket.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

public class Staff {

    @ExcelProperty("编号")
    @ColumnWidth(10)
    private Integer staffID;
    @ExcelProperty("任务数量")
    @ColumnWidth(12)
    private Integer taskNum;
    @ExcelProperty("姓名")
    @ColumnWidth(15)
    private String name;
    @ExcelProperty("电话")
    @ColumnWidth(20)
    private String phone;
    @ExcelProperty("住址")
    @ColumnWidth(30)
    private String address;

    public Integer getStaffID() {
        return staffID;
    }

    public void setStaffID(Integer staffID) {
        this.staffID = staffID;
    }

    public Integer getTaskNum() {
        return taskNum;
    }

    public void setTaskNum(Integer taskNum) {
        this.taskNum = taskNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Staff{" +
                "staffID=" + staffID +
                ", taskNum=" + taskNum +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
